2006-01-05 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkwindow.c: Only connect to the event if we have
+ a frame, since the handler is only relevant in that case.
+
* gtk/gtkaction.c (connect_proxy, disconnect_proxy):
Use a weak reference rather than the destroy signal to track
proxies going away.
2006-01-05 Matthias Clasen <mclasen@redhat.com>
+ * gtk/gtkwindow.c: Only connect to the event if we have
+ a frame, since the handler is only relevant in that case.
+
* gtk/gtkaction.c (connect_proxy, disconnect_proxy):
Use a weak reference rather than the destroy signal to track
proxies going away.
gtk_decorated_window_init (window);
- g_signal_connect (window,
- "event",
- G_CALLBACK (gtk_window_event),
- NULL);
}
static void
attributes_mask = GDK_WA_X | GDK_WA_Y;
parent_window = window->frame;
+
+ g_signal_connect (window,
+ "event",
+ G_CALLBACK (gtk_window_event),
+ NULL);
}
else
{
* frame_event you can receive all events targeted at the frame.
*
* This function is used by the linux-fb port to implement managed
- * windows, but it could concievably be used by X-programs that
+ * windows, but it could conceivably be used by X-programs that
* want to do their own window decorations.
*
**/